configure: Fix when no libsystemd compat lib are available
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 3 May 2016 15:59:49 +0000 (16:59 +0100)
committerWei Liu <wei.liu2@citrix.com>
Wed, 4 May 2016 15:31:16 +0000 (16:31 +0100)
commit7dec5b0c658bea9c16a0e3c051e64d2abf57be48
treee5969c443c0195c1a1df9542c68bdf05d843d155
parenta50ea9cb56add9b29e81f85e197b59b9a41114e2
configure: Fix when no libsystemd compat lib are available

From systemd change log, since version 209, libsystemd.so contain
everything, including libsystemd-daemon.so. Distro may, or may not provide
the compatibility libraries which libsystemd-daemon is part of.

So, if libsystemd-daemon is not available, check for the presence of
a recent enough libsystemd.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
[ wei: run autogen.sh ]
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
m4/systemd.m4
tools/configure